CREATE PROCEDURE [acms].[EmailActivationCode_GetByUserIdAndCode]
	@UserId int,
	@Code varchar(10)
AS
	SELECT *
	FROM [acms].[EmailActivationCode_View]
	WHERE [UserId] = @UserId and [Code] = @Code
RETURN 0